package com.unidt.www.module.expert.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author sk
 * @Description: 专家编辑机
 * @Date 2022/11/29 16:50
 **/
@Data
public class ExpertInfoEditForm {

    private Long id;

    @ApiModelProperty("用户ID")
    Long  userId;


    @ApiModelProperty("姓名")
    @NotEmpty(message = "专家姓名不能为空")
    String  name;

    @ApiModelProperty("研究方向")
    @NotEmpty(message = "研究方向")
    String  studyDirection;


    @ApiModelProperty("头像")
    String headImgUrl;

    @ApiModelProperty("性别 1男 2女")
    Integer  gender;

    @ApiModelProperty("身份证")
    @NotNull(message = "身份证能为空")
    String  idCard;

    @ApiModelProperty("联系电话")
    @NotNull(message = "联系电话能为空")
    String  phone;

    @ApiModelProperty("邮箱")
    String  email;

    @ApiModelProperty("出生日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @NotNull(message = "出生年月不能为空")
    Date birthday ;

    @ApiModelProperty("常驻地址")
    String address;

    @ApiModelProperty("专业背景")
    String major;

    @ApiModelProperty("毕业院校")
    String graduateSchool;

    @ApiModelProperty("最高学历")
    String maxEducation;

    @ApiModelProperty("单位名称")
    String unitName;

    @ApiModelProperty("单位地址")
    String unitAddress;

    @ApiModelProperty("职称")
    String jobTitle;

    @ApiModelProperty("作品 著作")
    String works;

    @ApiModelProperty("擅长领域")
    String areaExpertise;

    @ApiModelProperty("标签")
    String tags;


    @ApiModelProperty("身份标签")
    String identityTag;

    @ApiModelProperty("民族")
    String nation;

    @ApiModelProperty("行政区域")
    Long organId;







}
